header {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    text-align: center;
    color: white;
    position: relative;
}
   

    .textintro{
        position: absolute;
        height: 50vh;
        align-content: center;
        width: 100%;
    }
    
.textintro h1 {
    font-family:'Indie Flower';
    font-weight: 100;
    text-align: center;
    margin-top: 5%;
    color: white;
    position: relative;
}

.espace{
    margin: 30px 0;
}
.espace ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.espace p{
    color: #C36451;
    background-color: white;
    font-size: 25px;
    font-family:'Indie Flower';
    position: relative;
    z-index: 1;

}

.espace li{
    position: relative;
    align-content: center;
    text-align: center;

}
.espace li img{
    border-radius: 10px;
    width: 100%;

}

.espace ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.present{
    position: relative;
}
.present p{
    color: #C36451;
    background-color: rgba(255, 255, 255, 0.752);
    font-size: 25px;
    padding: 20px;
    margin: 0;
}
.arrondie {
    border-radius: 50%; 
    object-fit: cover; 
}

.present .divimages{
    display: flex;
    justify-content: space-between;
    margin: 0 10%;
}
.divtext{
    width: 100%;
    text-align: -webkit-center;
    bottom: 0;
}
.diapo{
    margin-top: 4%;
    position: relative;
}

.diapo .images{
    filter: grayscale(100%);
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
    height: 300px;
    object-fit: cover;
}
.diapo .imagesactive{
    z-index: 1;
    filter: grayscale(0%)
}
.textfin{
    color: #C36451;
    background-color: rgba(255, 255, 255, 0.752);
    font-size: 25px;
    width: 100%;
    padding: 20px;
    margin: 0;
    text-align: center;
}


@media (min-width: 1100px) {
    .textintro h1 {
        font-size: 6em;
    }
    .espaceleft,.espaceright{
        display: flex;
        align-items: stretch;
    }
    .espace .textleft{
        right: -6%;
    }
    .espace .textright{
        left: -6%;
    }
    .espace li{
        width: 50%;
    }
    .espace p {        
        padding:50px;
    }
    .divtext {        
        position: absolute;
    }
    .present p{        
        width: 60%;
    }
    .arrondie {
        width: 300px; 
        height: 300px; 
    }
    .marcheur{
        width: 16%;
    }
    
}
@media (max-width: 1100px) {
    .textintro h1 {
        font-size: 4em;
    }
    .espaceleft{
        display: flex;
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .espaceright{
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }
    .espace .textleft{
        top: -20%;
    }
    .espace .textright{
        top: -20%;
    }
    .espace li{
        width: 100%;
    }
    .espace p {
        padding: 10px;
    }
    .divtext {        
        position: block;
    }
    .present p{  
        width: 95%;
    }
    .arrondie {
        width: 200px; 
        height: 200px; 
    }
    .marcheur {
        width: 30%;
    }
    
}
@media (min-width: 750px) {
    .diapo .divimages{
        transition: transform 0.5s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .diapo img {
        width: 30%;
        height: 300px;
        object-fit: cover;
    }
}
@media (max-width: 750px) {
    .diapo .divimages{
        transition: transform 0.5s ease-in-out;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .diapo img {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .marcheur{
        display: none;
    }
    .present .divimages {
        justify-content: center;
    }
}